package com.softeem.ossmusic.service;

import com.softeem.ossmusic.comm.R;
import com.softeem.ossmusic.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author softeem
* @description 针对表【user】的数据库操作Service
* @createDate 2025-10-28 11:42:45
*/
public interface UserService extends IService<User> {

    /**
     * 登录
     * @param username
     * @param password
     * @return
     */
    R login(String username, String password);

    /**
     * 注册
     * @param user
     * @return
     */
    R register(User user);
}
